package com.le.tester.tip;

import java.time.Duration;
import java.time.LocalDateTime;

/**
 * createTime：2025-03-16 14:38
 * description：代码块执行超时自动释放资源
 */
public class TimeOutExit {

    public static void main(String[] args) {
        LocalDateTime startTime = LocalDateTime.now();
        System.out.println("开始时间:" + startTime);
        long timeOut = 3000;
        while (true) {
            return;

        }
    }
}
